
const userKey = 'userInfo'
const scheduledKey = 'scheduledList_'

export function setUserInfo(data) {
  localStorage.setItem(userKey, data)
}

export function removeUserInfo() {
  localStorage.removeItem(userKey)
}

export function removeScheduled(person) {
  const key = scheduledKey + btoa(unescape(encodeURIComponent(person)))
  localStorage.removeItem(key)
}
